﻿<?php echo form_open('adminUsers/deleteUsers'); ?>
<table class="admin_table">
<tr><th colspan="2"><h2>Промени корисници</h2></th></tr>
<?php 
	foreach ($users as $user)
	{
		echo "<tr><td><a href='".site_url('adminUsers/editUser/'.$user->idUserPk)."'>".$user->username."</a></td>";
		echo "<td><input class='checkboxes' type='checkbox' name=".$user->idUserPk." value=".$user->idUserPk." /></td></tr>";
	}
?>
<tr class="footer_table"><td><a style="background: none; font-weight: bold;" href="<?= site_url('adminUsers/addUser') ?>">Додади корисник</a></td>
<td><input class="right" type="submit" name="submit" value="Избриши селектирани" /></td></tr>
<tr><td colspan="2"><a style="background: none; font-weight: bold;" href="<?= site_url('adminUsers/rolesEditor') ?>">Промени пристап</a></td> </tr>
</table>
<?php echo form_close(); ?>